﻿@model CSharpDay11__Entity_Framework_.Models.Artwork

<!--I think a jumbotron would suit this page well-->
<div class="jumbotron text-center">
    <h3 class="page-header">@Model.Title</h3>
    <img src="@Model.ImageUrl" />
    <p>
        <h4><i>By: </i>@Model.Artist.Name</h4>
        <h4><i>Price: </i>@Model.Worth.ToString("$#,##0.00")</h4>
        <div class="col-sm-6">
            @Html.ActionLink("Edit", "EditArtwork", new { id = Model.Id }, new { @class = "btn btn-info btn-block" })
        </div>
        <div class="col-sm-6">
            @Html.ActionLink("Delete", "DeleteArtwork", new { id = Model.Id }, new { @class = "btn btn-danger btn-block" })
        </div>
    </p>

</div>
